package com.yazif.vqa.util;

import com.yazif.vqa.domain.MessageListEnum;

public class RedisKeyUtil {
    private static final String IMAGE = "image";
    private static final String SPLIT = ":";
    private static final String MESSAGE_LIST = "message";
    private static final String ACCESS_TOKEN = "accessToken";

    public static String getImageKey(String userId){
        return userId + SPLIT + IMAGE;
    }

    public static String getMessageList(MessageListEnum type){
        return type + SPLIT + MESSAGE_LIST;
    }

    public static String getAccessTokenKey(){
        return ACCESS_TOKEN;
    }
}
